package com.ruoyi.report_tg.domain.bo;

import com.ruoyi.common.core.validate.AddGroup;
import com.ruoyi.common.core.validate.EditGroup;
import lombok.Data;
import lombok.EqualsAndHashCode;
import javax.validation.constraints.*;

import java.util.Date;

import java.math.BigDecimal;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 土的承载比（CBR）含水率试验记录详细业务对象 report_tg_tdczbhsl_ba_detail
 *
 * @author zyb
 * @date 2024-10-29
 */

@Data
@EqualsAndHashCode(callSuper = true)
public class TdczbhslBaDetailBo extends BaseEntity {

    /**
     * id
     */
    @NotNull(message = "id不能为空", groups = { EditGroup.class })
    private Long id;

    /**
     * 主表id
     */
    @NotNull(message = "主表id不能为空", groups = { AddGroup.class, EditGroup.class })
    private Long excelId;

    /**
     * 行号默认一批18行
     */
    @NotNull(message = "行号默认一批18行不能为空", groups = { AddGroup.class, EditGroup.class })
    private Long baRowNumber;

    /**
     * 含水率
     */
    @NotNull(message = "含水率不能为空", groups = { AddGroup.class, EditGroup.class })
    private BigDecimal hansl;

    /**
     * 干密度
     */
    @NotNull(message = "干密度不能为空", groups = { AddGroup.class, EditGroup.class })
    private BigDecimal ganmd;

    /**
     * 盒号
     */
    @NotBlank(message = "盒号不能为空", groups = { AddGroup.class, EditGroup.class })
    private String heh;

    /**
     * 盒质量
     */
    @NotNull(message = "盒质量不能为空", groups = { AddGroup.class, EditGroup.class })
    private BigDecimal hezl;

    /**
     * 盒+湿土质量
     */
    @NotNull(message = "盒+湿土质量不能为空", groups = { AddGroup.class, EditGroup.class })
    private BigDecimal hejstzl;

    /**
     * 盒+干土质量
     */
    @NotNull(message = "盒+干土质量不能为空", groups = { AddGroup.class, EditGroup.class })
    private BigDecimal hejgtzl;

    /**
     * 水分质量
     */
    @NotNull(message = "水分质量不能为空", groups = { AddGroup.class, EditGroup.class })
    private BigDecimal shifzl;

    /**
     * 干土质量
     */
    @NotNull(message = "干土质量不能为空", groups = { AddGroup.class, EditGroup.class })
    private BigDecimal gantzl;

    /**
     * heh_id
     */
    @NotNull(message = "heh_id不能为空", groups = { AddGroup.class, EditGroup.class })
    private Long hehId;


}
